package com.vkserver.services.utils;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;
import java.util.List;

/**
 *@author roman.prudkogliad@gmail.com
 */
@XmlRootElement
public class StatisticData implements Serializable{

    private static final long serialVersionUID = 1L;

    private List<Question> lastQuestions;
    private List<User> topUsers;
    private List<User> topActiveUsers;
    private List<Question> topQuestions;
    private List<User> topLikeUsers;
    private String activityQuestions_man;
    private String activityAnswers_man;
    private int userQuestions;
    private String activityQuestions_woman;
    private String activityAnswers_woman;


    public StatisticData(){}

    public StatisticData(List<Question> lastQuestions, List<User> topUsers, List<User> topActiveUsers, List<Question> topQuestions, String activityQuestions, String activityAnswers, int userQuestions) {
        this.lastQuestions = lastQuestions;
        this.topUsers = topUsers;
        this.topActiveUsers = topActiveUsers;
        this.topQuestions = topQuestions;
        this.activityQuestions_man = activityQuestions;
        this.activityAnswers_man = activityAnswers;
        this.userQuestions = userQuestions;
    }

    @XmlElement(name = "top_like_users")
    public List<User> getTopLikeUsers() {
        return topLikeUsers;
    }

    public void setTopLikeUsers(List<User> topLikeUsers) {
        this.topLikeUsers = topLikeUsers;
    }

    @XmlElement(name = "top_users")
    public List<User> getTopUsers() {
        return topUsers;
    }

    public void setTopUsers(List<User> topUsers) {
        this.topUsers = topUsers;
    }
    @XmlElement(name = "last_questions")
    public List<Question> getLastQuestions() {
        return lastQuestions;
    }

    public void setLastQuestions(List<Question> lastQuestions) {
        this.lastQuestions = lastQuestions;
    }
    @XmlElement(name = "top_active_users")
    public List<User> getTopActiveUsers() {
        return topActiveUsers;
    }

    public void setTopActiveUsers(List<User> topActiveUsers) {
        this.topActiveUsers = topActiveUsers;
    }
    @XmlElement(name = "top_questions")
    public List<Question> getTopQuestions() {
        return topQuestions;
    }

    public void setTopQuestions(List<Question> topQuestions) {
        this.topQuestions = topQuestions;
    }
    @XmlElement(name = "activity_question_man")
    public String getActivityQuestionsMan() {
        return activityQuestions_man;
    }

    public void setActivityQuestionsMan(String activityQuestions_man) {
        this.activityQuestions_man = activityQuestions_man;
    }

    @XmlElement(name = "activity_question_woman")
    public String getActivityQuestionsWoman() {
        return activityQuestions_woman;
    }

    public void setActivityQuestionsWoman(String activityQuestions_woman) {
        this.activityQuestions_woman = activityQuestions_woman;
    }

    @XmlElement(name = "activity_answers_man")
    public String getActivityAnswersMan() {
        return activityAnswers_man;
    }

    public void setActivityAnswersMan(String activityAnswers_man) {
        this.activityAnswers_man = activityAnswers_man;
    }
    
    @XmlElement(name = "activity_answers_woman")
    public String getActivityAnswersWoman() {
        return activityAnswers_woman;
    }

    public void setActivityAnswersWoman(String activityAnswers_woman) {
        this.activityAnswers_woman = activityAnswers_woman;
    }
    
    @XmlElement(name = "user_questions")
    public int getUserQuestions() {
        return userQuestions;
    }

    public void setUserQuestions(int userQuestions) {
        this.userQuestions = userQuestions;
    }


}
